package com.hw.service;

import com.github.pagehelper.PageInfo;
import com.hw.pojo.Categories;

import java.util.List;

/**
 * @InterfaceName: CategoriesService
 * @Description:
 * @Author: vie0134
 * @Date: 2020-12-15 16:45
 * @Version: 1.0
 **/
public interface CategoriesService {
    PageInfo<Categories> findAllCategories(int pageNum, int pageSize, String categoryname, String status);
    void addCategories(Categories categories);
    void updateCategories(Categories categories);
    Categories findCategoriesById(Integer id);
    void deleteCategoriesById(Integer id);
    void deleteCategoriesByIds(List<String> ids);
}
